export class Hero {

	private _name:string='';

	private _age:number=0;

	constructor(name:string,age:number){
		this._name=name;
		this._age=age;
	}

	set name(name:string){
		this._name=name;
	}

	set age(age:number){
		this._age=age;
	}

	get name(){
		return this._name;
	}

	get age(){
		return this._age;
	}
}
